package com.spark.modules.generation.entity.model;

import lombok.Data;

import java.io.Serializable;

/**
 * 模板实体
 *
 * @author LYCHEE
 * @date 2025/3/5 15:07
 */
@Data
public class TemplateModel implements Serializable {

    public TemplateModel() {
    }

    public TemplateModel(String templatePath, String targetPath, String suffix) {
        this.templatePath = templatePath;
        this.targetPath = targetPath;
        this.suffix = suffix;
    }

    public TemplateModel(String templatePath, String targetPath, String suffix, String prefix) {
        this.templatePath = templatePath;
        this.targetPath = targetPath;
        this.suffix = suffix;
        this.prefix = prefix;
    }

    /**
     * 模板路径
     */
    private String templatePath;

    /**
     * 目标路径
     */
    private String targetPath;

    /**
     * 生成文件后缀
     */
    private String suffix;

    /**
     * 生成文件前缀
     */
    private String prefix;
}
